<extend name="Template/index"/>
<block name="title">
    个人信息
</block>  
<block name="carousel"></block>
<block name="nav-pos">
	<span class="glyphicon glyphicon-home"></span>
    <li>您当前所在位置 ：</li>
	<li><a href="{:U('personalCenter/index')}">个人中心</a></li>
    <li>个人信息</li>
</block>
<block name="main">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/personalCenter.css"/>
		<div id="main">
			<div class="main">
				<div id="personalCenterDetails">
					<div id="personalCenter">
                       <div id="perSave"><a href="{:U('personalCenter/personalCenterSave')}">修改基本信息</a></div>
						<ul class="personalCenter">
							<li class="headPortrait"><a href="javascript:;"><if condition="$user['image_id'] eq ''">未上传头像<else/><img src="__PUBLIC__/{$user.image_id}" class="img-circle" height="100" width="100"></if></a></li>
							<li><div class="personalCenterTitle">昵称</div><span class="personalCenterContent">{$user.nickname}</span></li>
                            <li><div class="personalCenterTitle">用户</div><span class="personalCenterContent">{$user.user_name}</span></li>
                           	<li><div class="personalCenterTitle">性别</div><span class="personalCenterContent"><if condition="$user['sex'] eq '0'">未确认<else/>{$user.sex_name}</if></span></li>
							<li><div class="personalCenterTitle">余额</div><span class="personalCenterContent">￥ {$user.balance}</span></li>
							<li><div class="personalCenterTitle">积分</div><span class="personalCenterContent">{$user.integral}</span></li>
                            <li><div class="personalCenterTitle">VIP</div><span class="personalCenterContent">{$user.coupon_name}</span></li>
							<li><div class="personalCenterTitle">优惠券</div><span class="personalCenterContent">{$user.coupon} 张</span></li>
							<li><div class="personalCenterTitle">年龄</div><span class="personalCenterContent">{$user.age} 岁</span></li>
							<li><div class="personalCenterTitle">学位</div><span class="personalCenterContent">{$user.degree_name}</span></li>
							<li class="presentAddress"><div class="personalCenterTitle"><a href="">现居地址</a></div><span class="personalCenterContent">{$user.address}</span></li>
							<li><div class="personalCenterTitle"><img src="__PUBLIC__/home/image/timg_03.gif" class="img-circle" height="40"></div><span class="personalCenterContent"><a href="">未认证</a></span></li>
							<li><div class="personalCenterTitle"><img src="__PUBLIC__/home/image/timg_06.gif" class="img-circle" height="40"></div><span class="personalCenterContent"><a href="">未认证</a></span></li>
                            <li><div class="personalCenterTitle"><img src="__PUBLIC__/home/image/timg_02.gif" class="img-circle" height="40"></div><span class="personalCenterContent"><a href="">未认证</a></span></li>
                            <li><div class="personalCenterTitle"><img src="__PUBLIC__/home/image/timg-(1)_03.gif" class="img-circle" height="40"></div><span class="personalCenterContent"><a href="">未认证</a></span></li>
                            <li><div class="personalCenterTitle">注册时间</div><span class="personalCenterContent">{$user.create_time|date="Y-m-d H:i:s",###}</span></li>
                            <li><div class="personalCenterTitle">最近上线</div><span class="personalCenterContent"><if condition="$session['ltime'] eq 0">您是第一次登录</if><if condition="$session['ltime'] neq 0">{$session.ltime|date="Y-m-d H:i:s",###}</if></span></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
</block>